package com.minivision.fdiot.rest.param.device;

import java.util.List;

import org.hibernate.validator.constraints.NotEmpty;

import com.minivision.fdiot.common.AuthParam;
import com.minivision.fdiot.domain.DeviceInfo;
import com.minivision.fdiot.domain.FaceSetInfo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Setter
@Getter
@ToString
public class Sync2DeviceParam extends AuthParam {
  
  private static final long serialVersionUID = 2629360037840659117L;
  
  @NotEmpty(message = "至少要指定一个同步的人脸库")
  @ApiModelProperty(value = "需要同步的人脸库", required = true)
  private List<FaceSetInfo> facesets;
  @NotEmpty(message = "至少要指定一个同步的设备")
  @ApiModelProperty(value = "需要同步的设备", required = true)
  private List<DeviceInfo> devices;
  
}
